package com.rubiksillusions;

public class Tables {
	public static final int[][] stringTransformation = {
			{ -1, -1, 51, -1, -1, 48, -1, -1, 45, -1, -1, 52, -1, -1, 49, -1, -1, 46, -1, -1, 53, -1, -1, 50, -1, -1, 47 },
			{ -1, -1, -1, -1, -1, -1, 18, 21, 24, -1, -1, -1, -1, -1, -1, 19, 22, 25, -1, -1, -1, -1, -1, -1, 20, 23, 26 },
			{ 6, 7, 8, 3, 4, 5, 0, 1, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
			{ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 11, 14, 17, 10, 13, 16, 9, 12, 15  },
			{ 33, 30, 27, -1, -1, -1, -1, -1, -1, 34, 31, 28, -1, -1, -1, -1, -1, -1, 35, 32, 29, -1, -1, -1, -1, -1, -1 },
			{ 38, -1, -1, 37, -1, -1, 36, -1, -1, 41, -1, -1, 40, -1, -1, 39, -1, -1, 44, -1, -1, 43, -1, -1, 42, -1, -1 }
	};
	
	public static final int[][][] rotations = {
			{{0, 3, 6, 9, 12, 15, 18, 21, 24}, {1, 4, 7, 10, 13, 16, 19, 22, 25}, {2, 5, 8, 11, 14, 17, 20, 23, 26}},
			{{18, 19, 20, 21, 22, 23, 24, 25, 26}, {9, 10, 11, 12, 13, 14, 15, 16, 17}, {0, 1, 2, 3, 4, 5, 6, 7, 8}},
			{{6, 7, 8, 15, 16, 17, 24, 25, 26}, {3, 4, 5, 12, 13, 14, 21, 22, 23}, {0, 1, 2, 9, 10, 11, 18, 19, 20}}
	};
}
